package cn.interestingshop.service;

import cn.interestingshop.model.entity.User;

public interface UserService {
    /**
     * 根据账号，获取用户信息
     * @param account
     * @return
     */
    public User findUserByAccount(String account);

    /**
     * 添加用户
     * @param user
     * @return
     */
    public int add(User user) ;
}